﻿///<reference path="utCommon.js" />
///<reference path="../date.prototype.extension.js" />


function test() {
    var testDate = new Date(2012, 4, 2, 18, 01, 03);

    utFramework.appendResult("format", testDate.format("yyyy-MM-dd HH:mm:ss") == "2012-05-02 18:01:03");
    utFramework.appendResult("getFirstDayOfMonth", testDate.getFirstDayOfMonth().format("yyyy-MM-dd") == "2012-05-01");
}